import Mixins from '@/views/mixins'
import system from '@/api/system'
export default {
  mixins: [Mixins],
  methods: {
    getRequestType (opt) {
      if (opt === 'updateCompanyInfo') {
        return system.updateCompanyInfoAPI
      } else {
        if (this.id === 'company') {
          return system.getCompanyInfoListAPI
        }
      }
    }
  }
}
